export const formatIdentifierCode = (str) => {
  if(!str) return '';
  str = str.replace(/[^\d]/g, '')
  let tmp = []
    , section = '';
  for (let i = 0; i < str.length; i = i + 3) {
    section += str.slice(i, i + 3);
    if (section.length === 3 || i + 3 > str.length) {
      tmp.push(section);
      section = '';
    }
  }
  return tmp.join(' ');
};
